package com.course.server.mapper;

import com.course.server.entity.po.AdminUser;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminUserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(AdminUser record);

    int insertSelective(AdminUser record);

    AdminUser selectByPrimaryKey(Long userId);

    AdminUser selectByUserName(String username);

    int updateByPrimaryKeySelective(AdminUser record);

    int updateByPrimaryKey(AdminUser record);
}
